package com.zy.ch1.service;

import com.zy.ch1.entity.Book;

import java.util.List;
import java.util.Map;

public interface BookService {

    List<Book> findBooks();

    List<Book> selectBooks(Map<String,Object> map, int pageNum, int pageSize);

    int deleteBookByBookName(String bookName);

    int updateBook(Map<String,Object> map);

    int insertBook(Book book);
}
